import Layout from '@/layouts'
const course = [
  {
    path: '/course',
    component: Layout,
    children: [
      {
        path: '',
        name: 'course',
        component: () => import('@/views/course/list'),
        meta: { title: '课程列表', needLogin: false }
      },
      {
        path: ':id',
        name: 'details',
        component: () => import('@/views/course/details'),
        meta: { title: '点播详情', needLogin: false }
      },
      {
        path: ':id/watch',
        component: () => import('@/views/course/watch/index'),
        meta: { title: '播放页面', needLogin: false }
      }
    ]
  }
]
export default course
